var List = null;

function module$use()
{
    List = xdc.useModule('sysbios.nano.List');
}

function module$static$init( obj, mod )
{
    obj.eventList.length = mod.numPriorities;
    for (var i = 0; i < obj.eventList.length; i++) {
        List.init_meta(obj.eventList[i]);
    }

    obj.curEventList = obj.eventList.$addrof(mod.numPriorities);
}

function initFiber_meta( fiber, priority, reactor )
{
    fiber.eventList = this.$object.eventList.$addrof(priority);
    fiber.reactor = reactor;
}

function initEvent_meta( event, offset, signal )
{
    event.elem.next = null;
    event.offset = offset;
    event.signal = signal;
}
